package com.richpay.basejava.base07;

public class Teacher {
	private String name;//姓名
	private int age;//学生
	private boolean sex;//性别
	private int classNum;//班级号
	private int sno;//座位号
	public Teacher(String n,int a,boolean se,int c,int sn){
		name=n;
		age=a;
		sex=se;
		classNum=c;
		sno=sn;
	}

	public void display(){
		System.out.println("name="+name+",age="+age+",sex="+sex+",classNum="+classNum+",sno="+sno);
	}


	public static void main(String[] args){
		Teacher t1=new Teacher("法拉格",32,false,12,30);
		t1.display();

		Teacher t2=new Teacher("帕累托",21,true,13,31);
		t2.display();
	}
}
